package com.app.babygo.obj;

import com.app.babygo.help.ActionHelper;

/**
 * User object class
 * 
 */
public class User {

	private String userid;
	private String username;
	private String password;
	private String accesslevel;

	public User(){
		this.username = "null";
		this.userid = null;
		this.password = null;
		this.accesslevel = null;
	}
	
	public User(String username, String password,String accesslevel) {
		this.username = username;
		this.userid = ActionHelper.UserIdGenerater(username);
		this.password = password;
		this.accesslevel = accesslevel;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getAccesslevel() {
		return accesslevel;
	}

	public void setAccesslevel(String accesslevel) {
		this.accesslevel = accesslevel;
	}

}
